home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-05 | 2.4 KB | 61 lines | [TEXT/R*ch] |
- Speaking V1.11 a BBEdit Extensions
-
- NOTE: You can now delete the file called: “Speaking Sentences” it is part of “Speaking” file.
-
- Two new BBEdit Extensions for speaking the selected text using Apple new Speach Manager.
- I was thinking about writting a XTND capable speaking program, to allow speaking of any word
- processing file, but no need since BBEdit V2.2.1 is such a program.
-
- Hence, Speak with Dialog and Speaking my first BBEdit modules.
-
- 1) Speaking
-
- Simple extension that use Apple’s new speach manager to ‘Talk’ the selected text.
-
- 2) Speaking with Dialog (Same as Speaking except with a dialog box).
-
- An extensiont that use Apple’s new speach manager to ‘Talk’ the selected text.
-
- The use is presented with a dialog box with some limited control over how text is spoken.
-
- * You can ask it to spell the text or speak the text.
- * You can use the Talk, Stop, Pause, and Continue buttons to control and replay the text.
- * The exit button is used to return to BBEdit.
-
- The following error message numbers are from the Speech.h (C Interface to the Macintosh Libraries):
-
- enum { /*Speech Manager errors*/
- noSynthFound = -240,
- synthOpenFailed = -241,
- synthNotReady = -242,
- bufTooSmall = -243,
- voiceNotFound = -244,
- incompatibleVoice = -245,
- badDictFormat = -246,
- badInputText = -247
- };
-
- Things to do...
- * As time permits I will add the ‘standard missing features’ selecting voice, rate and pitch.
-
- History...
- Version 1.00 Release “Speaking sentences” & “Speaking” module.
- Version 1.10 Fix bug were no female voice is installed (error -244).
- Added tracking of text being spoken.
- Merged both modules into on file: “Speaking”.
- If option key is depressed, the default is change to spelling selected text.
- Version 1.11 Fix bug when selected text is scrolled into view.
- Add correct version resource so GetInfo... from finder will display version number.
- Version 1.20 Cleaned up source code to be included with modules.
- Feel free to enhance these modules...but give credit were credit is due.
- (and send me updated source, so I can add it to any changes I do!).
- Version 1.21 Change all NewHandle() calls to callback-Allocate() calls.
- Free memory allocated when error occures when allocating speech channel.
- #ifdef StackDebug code to check stack space problem (OS Error 28).
-
- Cheers, Mark Fleming
-
- E-Mail: markf@post.queensu.ca
- Copyright (c) 1993, All Rights Reserved.
-
-